package com.aznest.service;

import com.aznest.entity.Room;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoomService {
    void add(Room room);

    void deleteById(Integer id);

    void deleteBatch(List<Integer> ids);

    void updateById(Room room);

    Room selectById(Integer id);

    List<Room> selectByTypeId(String orderId);

    List<Room> selectAll(Room room);

    PageInfo<Room> selectPage(Room room, Integer pageNum, Integer pageSize);
}
